package com.gzp;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

@SpringBootApplication
@EnableDubbo // 开启dubbo
@EnableHystrix // 开启熔断器
public class MyDubboBootConsumerApplication {

	public static void main(String[] args) {
		SpringApplication.run(MyDubboBootConsumerApplication.class, args);
	}
}
